﻿<Window x:Class="Abhiruchi_Phase1.ORG_LocationMaster"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="ORG_LocationMaster" Height="500" Width="1000" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
    <Grid>
        <Label Content="Location Master" Height="35" HorizontalAlignment="Left" Margin="329,22,0,0" Name="lblLocHeding" VerticalAlignment="Top" Width="157" FontWeight="Bold" FontSize="18" />
        <Label Content="LocationID :" Height="28" HorizontalAlignment="Left" Margin="41,86,0,0" Name="lblLocIdCaption" VerticalAlignment="Top" />
        <Label Content="" Height="28" HorizontalAlignment="Left" Margin="157,86,0,0" Name="lblLocId" VerticalAlignment="Top" Width="55" />
        <Label Content="Location Name :"  Height="28" HorizontalAlignment="Left" Margin="41,132,0,0" Name="lblLocName" VerticalAlignment="Top" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="157,134,0,0" Name="txtLocName" VerticalAlignment="Top" Width="163" LostFocus="txtLocName_LostFocus" />
        <Label Content="Address :" Height="28" HorizontalAlignment="Left" Margin="41,177,0,0" Name="lblAddress" VerticalAlignment="Top" />
        <TextBox Height="89" HorizontalAlignment="Left" Margin="157,177,0,0" Name="txtAddress" VerticalAlignment="Top" Width="163" DataContext="{Binding}" TextWrapping="Wrap" TextAlignment="Justify" />
        <Label Content="Location Incharge :" Height="28" HorizontalAlignment="Left" Margin="41,286,0,0" Name="lblLocInchrge" VerticalAlignment="Top" />
        <Label Content="Contact Number :" Height="28" HorizontalAlignment="Left" Margin="41,329,0,0" Name="lblContactNo" VerticalAlignment="Top" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="157,331,0,0" Name="txtContactNo" VerticalAlignment="Top" Width="163" />
        <CheckBox Content=" Is Active" Height="20" HorizontalAlignment="Left" Margin="157,373,0,0" Name="chkIsActive" VerticalAlignment="Top" Width="73" IsChecked="True" />
        <Button Content="Button" Height="0" HorizontalAlignment="Left" Margin="10,33,0,0" Name="button1" VerticalAlignment="Top" Width="75" />
        <Button Content="Save" Height="23" HorizontalAlignment="Left" Margin="157,417,0,0" Name="btnSave" VerticalAlignment="Top" Width="75" Click="btnSave_Click" />
        <Button Content="Clear" Height="23" HorizontalAlignment="Left" Margin="245,417,0,0" Name="btnClear" VerticalAlignment="Top" Width="75" Click="btnClear_Click" />
        <telerik:RadGridView HorizontalAlignment="Left" Margin="342,95,0,0"  Name="radGridLocData" VerticalAlignment="Top" Width="624" Height="285" RowActivated="radGrdData_RowActivated" IsReadOnly="True"/>
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="157,290,0,0" Name="cmbLocInchrge" VerticalAlignment="Top" Width="163" ItemsSource="{Binding}">        
        </ComboBox>        
    </Grid>
</Window>
